ps -ef | grep $USER |grep ruoyi-modules-mining |grep -v grep | awk '{printf("kill -9 %s\n",$2)}' >killServer.sh
sh killServer.sh
sleep 2
ps -ef|grep ruoyi-modules-mining
sleep 2
nohup java  -Xms4g -Xmx4g  -jar -Dspring.config.location=/home/software/mining/bootstrap.yml  /home/software/mining/ruoyi-modules-mining.jar > ./info.log &

